package com.frxuexi.park2209.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.frxuexi.base.entity.NoticeBeanItem
import com.frxuexi.park2209.R

class NoticeAdapter:BaseQuickAdapter <NoticeBeanItem,BaseViewHolder>(R.layout.item_notice){
    override fun convert(helper: BaseViewHolder, item: NoticeBeanItem) {
        helper.setText(R.id.notice_title,item.noticeTitle)
        helper.setText(R.id.notice_content,item.noticeValue)
        helper.setText(R.id.notice_uid,item.noticeId.toString())
    }
}